package com.dorso.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
public class Supplier implements Serializable {
    private static final long serialVersionUID=1L;
    @TableId(type = IdType.AUTO)//设置id字段为自增长
    private Long id=0L;
    private String name;
    private String phone;
}
